//
//  ShapedView.h
//  yuikemall
//
//  Created by Gang.Wang on 12-5-22.
//  Copyright (c) 2012年 yuike. All rights reserved.
//

#import "UIViewEx.h"

@protocol ShapedViewDelegate;

@interface ShapedView : UIViewEx
{
    id <ShapedViewDelegate> delegate_;
    UIImage * image;
}

@property (nonatomic, assign) id <ShapedViewDelegate> delegate;
@property (nonatomic, strong) UIImage * image;

- (BOOL) isVisibleAtPoint:(CGPoint) point;
@end


@protocol ShapedViewDelegate <NSObject>
@optional
- (void) click:(id) obj;
@end
